#ifndef __SNEAKY_BUTTON_SKINNED_H__
#define __SNEAKY_BUTTON_SKINNED_H__

#include "SneakyButton.h"
#include "cocos2d.h"
class SneakyButtonSkinnedBase : public cocos2d::CCLayer
{
public:
        CC_SYNTHESIZE_READONLY(cocos2d::CCSprite *, defaultSprite, DefaultSprite);
        CC_SYNTHESIZE_READONLY(cocos2d::CCSprite *, activatedSprite, ActivatedSprite);
        CC_SYNTHESIZE_READONLY(cocos2d::CCSprite *, disabledSprite, DisabledSprite);
        CC_SYNTHESIZE_READONLY(cocos2d::CCSprite *, pressSprite, PressSprite);

        CC_SYNTHESIZE_READONLY(SneakyButton *, button, Button); //Not sure about this

        //Public methods
      //  LAYER_NODE_FUNC(SneakyButtonSkinnedBase);
        virtual ~SneakyButtonSkinnedBase();
        bool init();
        void watchSelf(cocos2d::CCTime delta);
        void setContentSize(cocos2d::CCSize s);
        void setDefaultSprite(cocos2d::CCSprite *aSprite);
        void setActivatedSprite(cocos2d::CCSprite *aSprite);
        void setDisabledSprite(cocos2d::CCSprite *aSprite);
        void setPressSprite(cocos2d::CCSprite *aSprite);
        void setButton(SneakyButton *aButton);

        static SneakyButtonSkinnedBase* node();
        CREATE_FUNC(SneakyButtonSkinnedBase);
};

#endif
